package org.jeecg.modules.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yaojia
 * @since 2024-09-02 10:41
 **/
@Data
@ApiModel(value = "部门详情", description = "部门详情")
public class SysDepartDetailVO implements Serializable {
    private static final long serialVersionUID = -5232194271079936664L;
    @ApiModelProperty(value = "部门ID")
    private String id;
    @ApiModelProperty(value = " 父机构ID")
    private String parentId;
    @ApiModelProperty(value = "机构/部门名称")
    private String departName;
    @ApiModelProperty(value = "英文名")
    private String departNameEn;
    @ApiModelProperty(value = "缩写")
    private String departNameAbbr;
    @ApiModelProperty(value = "排序")
    private Integer departOrder;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "机构类别 1=公司，2=内设机构，3=岗位")
    private String orgCategory;
    @ApiModelProperty(value = "机构类型")
    private String orgType;
    @ApiModelProperty(value = "机构编码")
    private String orgCode;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "传真")
    private String fax;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value = "状态（1启用，0不启用）")
    private String status;
    @ApiModelProperty(value = "删除状态（0，正常，1已删除）")
    private String delFlag;
    @ApiModelProperty(value = "对接企业微信的ID")
    private String qywxIdentifier;
    @ApiModelProperty(value = "对接钉钉的部门ID")
    private String dingIdentifier;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    @ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
    @ApiModelProperty(value = "是否有叶子节点: 1是0否")
    private Integer izLeaf;

    @ApiModelProperty(value = "总-员额数")
    private Integer member;
    @ApiModelProperty(value = "实有-员额数")
    private int realMember;
    @ApiModelProperty(value = "剩余-员额数")
    private int remainingMember;

//    @ApiModelProperty(value = "正职数")
//    private Integer chiefPosition;
//    @ApiModelProperty(value = "副职数")
//    private Integer deputyPosition;
//    @ApiModelProperty(value = "实有-正职数")
//    private long realChiefPosition;
//    @ApiModelProperty(value = "实有-副职数")
//    private long realDeputyPosition;
//    @ApiModelProperty(value = "剩余-正职数")
//    private long remainingChiefPosition;
//    @ApiModelProperty(value = "剩余-副职数")
//    private long remainingDeputyPosition;

    //todo 修改需求 取消正副职数 合并到一个字段
    @ApiModelProperty(value = "职数")
    private Integer position;
    @ApiModelProperty(value = "实有-职数")
    private long realPosition;
    @ApiModelProperty(value = "剩余-职数")
    private long remainingPosition;


    @ApiModelProperty(value = "分、子公司数")
    private Integer subsidiary;
    @ApiModelProperty(value = "内设机构数")
    private Integer internalInstitutions;
}
